package com.jinzhi.jzweb.service.resourceLibrary;

import com.baomidou.mybatisplus.plugins.Page;
import com.jinzhi.jzweb.domain.vo.resourceLibrary.eventresourceVO.PageResult;
import com.jinzhi.jzweb.domain.vo.resourceLibrary.eventresourceVO.ExamPaperVO;
import com.jinzhi.jzweb.domain.vo.resourceLibrary.eventresourceVO.HomeResourceVO;

import java.util.List;

public interface EventResourceStatisticService {
    /**
     * 班级学生练习记录
     */
    PageResult list(Long classId, Integer pageNum, Integer pageSize);

    /**
     * 个人练习记录详情 和 老师查看学生练习记录详情
     */
    Page practiceRecordDetails(Long userId, Integer pageNum, Integer pageSize);

    /**
     * 班级学习时长统计
     */
    Page listLearnStatistic(Long classId, Integer pageNum, Integer pageSize);

    /**
     * 根据类型获取 学生学习详情
     */
    Page learnDetails(Long useId, Integer type, Integer pageNum, Integer pageSize);

    /**
     * 首页展示全部资源
     */
    List<HomeResourceVO> getHomeResourceList();

    /**
     * 获取练习做题详情
     */
    ExamPaperVO getExamPaper(Long practiceRecordId);

    boolean deleteRecord();
}
